gentest: make testidl valgrind clean
authorWei Liu <wei.liu2@citrix.com>
Wed, 25 Feb 2015 14:56:01 +0000 (14:56 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Mar 2015 17:05:03 +0000 (17:05 +0000)
commit6d8261111b1c8836b6ce98df205ffc3334340fd7
treebdafe3d262d914d9052c5005885b3e5a469c2bd4
parent1391ca3bfa6555deefa3df620e1aa824652329f5
gentest: make testidl valgrind clean

Free the JSON string after use to avoid memory leak. With this change
testidl is valgrind clean.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/gentest.py